package org.neuedu.ssmp.crm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ServiceManagementHandle implements Serializable {
    @ApiModelProperty(value = "服务id")
    private Integer id;

    @ApiModelProperty(value = "服务类型")
    private String serviceType;

    @ApiModelProperty(value = "概要")
    private String summary;

    @ApiModelProperty(value = "客户名")
    private String clientName;

    @ApiModelProperty(value = "状态Id")
    private Integer state;

    @ApiModelProperty(value = "状态")
    private String stateName;

    @ApiModelProperty(value = "服务请求")
    private String requestService;

    @ApiModelProperty(value = "创建人")
    private String creatName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate createTime;

    @ApiModelProperty(value = "分配人id")
    private Integer allotfor;

    @ApiModelProperty(value = "分配给")
    private String assignedName;

    @ApiModelProperty(value = "分配时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate assignedTime;

    @ApiModelProperty(value = "服务处理")
    private String operatorContent;

    @ApiModelProperty(value = "处理人")
    private Integer handlerId;

    @ApiModelProperty(value = "处理人")
    private String handlerName;

    @ApiModelProperty(value = "处理时间")
    private LocalDate handlerTime;

    @ApiModelProperty(value = "处理结果")
    private String processResult;

    @ApiModelProperty(value = "满意度")
    private Integer Satisfaction;
}
